home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BlastDOS
/
[DOS_Application]_BIT_Software_-_BitCom_3.58c_-_Distribution_Disks.zip
/
FUNKEY.ACT
< prev
next >
Wrap
Text File
|
1990-06-01
|
796b
|
30 lines
trace(0)
@a = funkey { get funckey }
if ( @a = -1 ) goto :quit
if ( substr(@a, 1, 1 ) = "D" ) goto :dfunkey; else goto :hfunkey
:dfunkey
@c = strseq("$7F", "255")
if ( @c = "" ) goto :quit
@c = concat("$22", @c)
@c = concat(@c, "$22")
if ( @a = "DF1" ) @f1 = "@c"
if ( @a = "DF2" ) @f2 = "@c"
if ( @a = "DF3" ) @f3 = "@c"
if ( @a = "DF4" ) @f4 = "@c"
if ( @a = "DF5" ) @f5 = "@c"
if ( @a = "DF6" ) @f6 = "@c"
if ( @a = "DF7" ) @f7 = "@c"
if ( @a = "DF8" ) @f8 = "@c"
if ( @a = "DF9" ) @f9 = "@c"
if ( @a = "DF10" ) @f10 = "@c"
goto :quit
:hfunkey
@c = strseq("$0d", "9")
if ( @c = "" ) goto :quit
@r = concat( @c, " ")
@r = concat(@r, @a)
helpline("@r", "A")
:quit